package com.wm.blog_admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.wm.blog_config.config","com.wm.blog_admin"})
@MapperScan("com.wm.blog_admin.mapper")
@EnableDiscoveryClient
// 扫描FeignClient
@EnableFeignClients(basePackages = {"com.wm.blog_admin.feign","com.wm.blog_security.feign"})
public class BlogAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(BlogAdminApplication.class, args);
    }

}
